
package com.nancy.ioc.BeanFactoryPostProcessor.importtest;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;


public class MyImportSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        System.out.println("MyImportSelector被加载");
        return new String[]{MyConfiguration.class.getName()};
    }
}
